/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.dao;
 
import java.util.List;

import com.legendshop.dao.GenericDao;
import com.legendshop.dao.support.CriteriaQuery;
import com.legendshop.dao.support.PageSupport;
import com.legendshop.oa.model.MailLog;

/**
 * The Class MailLogDao.
 */

public interface MailLogDao extends GenericDao<MailLog, Long>{
     
    public abstract List<MailLog> getMailLog(String shopName);

	public abstract MailLog getMailLog(Long id);
	
    public abstract void deleteMailLog(MailLog mailLog);
	
	public abstract Long saveMailLog(MailLog mailLog);
	
	public abstract void updateMailLog(MailLog mailLog);
	
	public abstract PageSupport getMailLog(CriteriaQuery cq);

	public abstract PageSupport<MailLog> getMailLogPage(String curPageNO, MailLog mailLog);
	
 }
